private class History {
    var events: [Event]
    
    func rewrite() {
        events = []
    }
}